<template>
    <el-table :data="projectData" stripe>
        <el-table-column prop="_id" label="项目标号" />
        <el-table-column prop="name" label="项目名称" />
        <el-table-column prop="type" label="项目类型" />
        <el-table-column prop="price" label="项目原价" />
        <el-table-column prop="intro" label="项目介绍" />
        <el-table-column prop="count" label="次数" />
        <el-table-column label="操作">
            <template #default="{ row }">
                <slot :row="row"></slot>
            </template>
        </el-table-column>
    </el-table>

</template>

<script setup>
import { ref, onMounted, defineProps, defineEmits, defineModel } from 'vue'
import { searchProjectApi } from '../../api/projectManage'
const props = defineProps()
const projectData = defineModel()
</script>